package org.jeecg.modules.equipment.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.equipment.controller.EquipmentQuery;
import org.jeecg.modules.equipment.entity.Equipment;

import java.util.List;

/**
 * @Description: 设备
 * @Author: jeecg-boot
 * @Date:   2019-10-03
 * @Version: V1.0
 */
public interface IEquipmentService extends IService<Equipment> {
    IPage<Equipment> page(IPage<Equipment> page, EquipmentQuery equipmentQuery);

    public Equipment findByCode(String code);

    List<Equipment> findByAdminUserId(String adminUserId);
}
